home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetTOCIndexID.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  731b  |  28 lines

  1. /*
  2.  *--- PGetTOCIndexID.cpp --------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetTOCIndexID.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetTOCIndexID.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. const size_t REPLY_SIZE = 8;
  16.  
  17. PGetTOCIndexID::PGetTOCIndexID()
  18. {
  19.     char temp[REPLY_SIZE];
  20.     
  21.     PQuery query(pm_gettocindexid, temp, REPLY_SIZE);
  22.     PReplyBuf reply(temp);
  23.     
  24.     reply >> nTOCID >> nIndexID;
  25. }
  26.  
  27. // end of PGetTOCIndexID.cpp
  28.